<div class="form-group">
  <label for="select" class="col-lg-12 control-label">{{ trans('corebg.users.edit.role') }}</label>
  <div class="col-lg-12">
      <select class="form-control" id="role_id" name="role_id">
          @foreach($roles as $key => $role)
              <option value="{{ $role['id'] }}" @if($role['id']==$resource['role']['id']) selected="selected" @endif >{{ $role['name'] }}</option>
          @endforeach
      </select>
  </div>
</div>